package com.li.springbootproject.controller.redis;

import com.li.springbootproject.service.redis.RedisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2021/10/29
 */
@RestController
@RequestMapping("/redis")
public class RedisController {

    @Autowired
    private RedisService redisService;

    @PostMapping("/test/one")
    public void testOne() {
        redisService.testOne();
    }


}
